SftTree/OCX 7.0

SftTreeHeader.Locked Property

Softel vdm, Inc.

Defines whether this column's size is locked so the user cannot resize the column.

Syntax       

Get

VB.NET

Boolean = object.Locked  As Boolean

VB

Boolean = object.Locked  As Boolean

C#.NET

bool Boolean = object.Locked;

VC++

VARIANT_BOOL Boolean = object->Locked;
VARIANT_BOOL Boolean = object->GetLocked();

C

HRESULT object->get_Locked(VARIANT_BOOL* Boolean);

Delphi

Boolean := object.Locked   : WordBool;

Put

VB.NET

object.Locked = Boolean  As Boolean

VB

object.Locked = Boolean  As Boolean

C#.NET

bool object.Locked = Boolean;

VC++

VARIANT_BOOL object->Locked = Boolean;
void object->PutLocked(VARIANT_BOOL Boolean);

C

HRESULT object->put_Locked(VARIANT_BOOL Boolean);

Delphi

object.Locked := Boolean   : WordBool;

object

A SftTreeHeader object.

Boolean

Defines whether this column's size is locked so the user cannot resize the column.

Boolean

Description

True

The column width is locked and the user cannot resize the column. This can be used to hide certain columns. By setting a column's width to 0 and locking it, a user cannot make the column visible. 

False

The column width is not locked and the user can resize the column.

Comments

The Locked property defines whether this column's size is locked so the user cannot resize the column.

An application can always resize a column by changing its Column.Width property, regardless of the settings of this property.

The Headers.Resizable property can be used to define whether column headers can be resized by the user.

See Also  SftTreeHeader Object | Object Hierarchy


Feedback / comments / error reports for this topic
© 2015 - Softel vdm, Inc. - www.softelvdm.com